package com.dao;

import java.util.List;

import com.bean.CraftGrade;

public interface CraftGradeDao {

	public abstract void save(CraftGrade transientInstance);

	public abstract void delete(CraftGrade persistentInstance);

	public abstract CraftGrade findById(java.lang.Integer id);

	public abstract List findByExample(CraftGrade instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByGradeName(Object gradeName);

	public abstract List findByWage(Object wage);

	public abstract List findByUnit(Object unit);

	public abstract List findAll();

	public abstract CraftGrade merge(CraftGrade detachedInstance);

	public abstract void attachDirty(CraftGrade instance);

	public abstract void attachClean(CraftGrade instance);

}